/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package dao;

import java.util.List;
import pojo.Categories;

/**
 *
 * @author CANHNGUYEN
 */
public interface CategoryDAOInterface {

    public List listAll();

    public List listById(int startId, int endId);

    public Categories[] findByName(String name);

    public Categories getById(int categoryId);

    public void save(Categories cate);

    public void update(Categories newCate, int Id);

    public void delete(int id);
}
